<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head th:replace="fragments/header :: header">
</head>
<body>
<!--描述：登录内容开始-->	
<div class="container">
<div class="row">
	<div class="col-md-3"></div>
<div class="col-md-6">

 	<div id="login" class="form-group" role="form">
<form th:action="@{/login}" th:method="POST">
	<header>
	<h4>账号登录</h4>
	</header>
	<br />
	<div class="input-group">
		<span class="input-group-addon">用户名</span>	<input type="text" name="username" id="username" class="form-control"/>
	</div>
	<br />
    <div class="input-group">
    	<span class="input-group-addon">密&nbsp;&nbsp;&nbsp;码</span>	<input type="password" name="password" id="password" class="form-control" />	
    </div>
    <br/>
        <div class="input-group" th:if="${loginError}">
        <p class="error" th:text="${errorMsg}">error</p>
    </div>

     <div>
    	<div class="remember-me"><input id="remember-me" name="remember-me" type="checkbox" /><span>记住我</span> </div>
    	<div class="forget-pass"><span ><a href="#" >忘记密码?</a></span> </div>   	
    </div>
    <br/>
    <br/>
    <div class="input-group form-button">
    	 <input type="submit" class="btn btn-default btn-login-button" value="登录"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" class="btn btn-default btn-login-button" value="重置"/>
    </div>
</form>
   <div class="third-login">
   	<hr />
   <header>
   	<h6>第三方账号登录</h6>
   </header>
    qq登录 微信登录
   </div>
 	</div>
	
</div>
<div class="col-md-3"></div>
</div>
</div>
<!--描述：登录内容结束-->	
<br/>
<div th:replace="fragments/footer :: footer"></div>
</body>
</html>